
#ifndef CombatSysState_Forbidden_H
#define CombatSysState_Forbidden_H

#include "CombatState.h"

/*
*
*	CombatState Forbidden
*
*	state Forbidden:	in combat, forbidden to cast a spell
*/
class TCOM_API  CombatState_Forbidden : public ICombatState
{
public:
	CombatState_Forbidden(void);
	virtual ~CombatState_Forbidden();
	// 
	//	Fire when enter a new state
	//
	virtual void enter();

	// 
	//	Fire just before leaving a state
	//
	virtual void leave();

	// 
	//	update in current state
	//
	virtual bool update(int nElapse);

	// 
	//	onEvent callback in current state
	//
	virtual void onEvent(IEvt& evt);
protected:
};


#endif
